#include <iostream> 
using namespace std;
void main() 
{
  int *a = new int(0);
  int *b = new int(0);
  int *c = new int(0);
 
int **pa=&a;
int **pb=&b;
int **pc=&c;
 
cout<<"input a: ";
cin>>**pb;
cout<<"input b: ";
cin>>**pb;
 
if(**pb==0)
{
	cout<<"divide on 0\n";
	return;
}
 
else 
{
    (**pc) = (**pa)/(**pb);
    cout<<**pc;
    cout<<"\n";
 
}
 
 
delete *pa;
delete *pb;
delete *pc;
}